from models import db, BaseModel


class SchemaGroup(BaseModel):
    """
    模型分组模型
    """
    __tablename__ = "dev_schema_group"
    __table_args__ = ({"comment": "模型分组"})
    name = db.Column(db.String, name="name", unique=False, nullable=True, comment="分组名称")
    code = db.Column(db.String, name="code", unique=False, nullable=True, comment="唯一编码")
    icon = db.Column(db.String, name="icon", unique=False, nullable=True, comment="图标")
    sort = db.Column(db.BigInteger, name="sort", unique=False, nullable=True, comment="排序")
    remark = db.Column(db.String, name="remark", unique=False, nullable=True, comment="备注")
